package JavaSE.AnnotationLearning.ReflectTest2;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;

/**
 *  测试类
 */
public class Test {
    public static void main(String[] args) throws InvocationTargetException, NoSuchMethodException, NoSuchFieldException, InstantiationException, IllegalAccessException, IOException {
        StudentFactory studentFactory = new StudentFactory();
        Student stu1 = studentFactory.getStudent(15, "阿努比斯神殿");
        System.out.println(stu1);
    }
}
